/*
 * TablePanel.java
 *
 * Created on 29.12.2011, 12:57:10
 */
package asbarbeta;

import java.awt.Color;

/**
 *
 * @author yasser
 */
public class TablePanel extends javax.swing.JPanel {
    private final ASBarBetaApp app;
    /** Creates new form TablePanel */
    public TablePanel(ASBarBetaApp app) {
        this.app = app;
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        tableNameLabel = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        orderPanel1 = new javax.swing.JPanel();
        orderLabel1 = new javax.swing.JLabel();
        orderPanel2 = new javax.swing.JPanel();
        orderLabel2 = new javax.swing.JLabel();
        orderPanel3 = new javax.swing.JPanel();
        orderLabel3 = new javax.swing.JLabel();
        orderPanel4 = new javax.swing.JPanel();
        orderLabel4 = new javax.swing.JLabel();
        orderPanel5 = new javax.swing.JPanel();
        orderLabel5 = new javax.swing.JLabel();
        orderPanel6 = new javax.swing.JPanel();
        orderLabel6 = new javax.swing.JLabel();
        orderPanel7 = new javax.swing.JPanel();
        orderLabel7 = new javax.swing.JLabel();
        orderPanel8 = new javax.swing.JPanel();
        orderLabel8 = new javax.swing.JLabel();
        newOrderjButton = new javax.swing.JButton();
        changeTablejButton = new javax.swing.JButton();
        cancelButton = new javax.swing.JButton();

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(asbarbeta.ASBarBetaApp.class).getContext().getResourceMap(TablePanel.class);
        setBackground(resourceMap.getColor("Form.background")); // NOI18N
        setName("Form"); // NOI18N
        setPreferredSize(new java.awt.Dimension(350, 500));

        tableNameLabel.setFont(resourceMap.getFont("tableNameLabel.font")); // NOI18N
        tableNameLabel.setText(resourceMap.getString("tableNameLabel.text")); // NOI18N
        tableNameLabel.setName("tableNameLabel"); // NOI18N

        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        orderPanel1.setBackground(resourceMap.getColor("orderPanel1.background")); // NOI18N
        orderPanel1.setName("orderPanel1"); // NOI18N
        orderPanel1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                orderPanel1MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                orderPanel1MouseExited(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                orderPanel1MouseEntered(evt);
            }
        });

        orderLabel1.setText(resourceMap.getString("orderLabel1.text")); // NOI18N
        orderLabel1.setName("orderLabel1"); // NOI18N

        org.jdesktop.layout.GroupLayout orderPanel1Layout = new org.jdesktop.layout.GroupLayout(orderPanel1);
        orderPanel1.setLayout(orderPanel1Layout);
        orderPanel1Layout.setHorizontalGroup(
            orderPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .add(orderLabel1)
                .addContainerGap(35, Short.MAX_VALUE))
        );
        orderPanel1Layout.setVerticalGroup(
            orderPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderLabel1)
        );

        orderPanel2.setBackground(resourceMap.getColor("orderPanel2.background")); // NOI18N
        orderPanel2.setName("orderPanel2"); // NOI18N
        orderPanel2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                orderPanel2MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                orderPanel2MouseExited(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                orderPanel2MouseEntered(evt);
            }
        });

        orderLabel2.setText(resourceMap.getString("orderLabel2.text")); // NOI18N
        orderLabel2.setName("orderLabel2"); // NOI18N

        org.jdesktop.layout.GroupLayout orderPanel2Layout = new org.jdesktop.layout.GroupLayout(orderPanel2);
        orderPanel2.setLayout(orderPanel2Layout);
        orderPanel2Layout.setHorizontalGroup(
            orderPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .add(orderLabel2)
                .addContainerGap(35, Short.MAX_VALUE))
        );
        orderPanel2Layout.setVerticalGroup(
            orderPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderLabel2)
        );

        orderPanel3.setBackground(resourceMap.getColor("orderPanel3.background")); // NOI18N
        orderPanel3.setName("orderPanel3"); // NOI18N
        orderPanel3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                orderPanel3MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                orderPanel3MouseExited(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                orderPanel3MouseEntered(evt);
            }
        });

        orderLabel3.setText(resourceMap.getString("orderLabel3.text")); // NOI18N
        orderLabel3.setName("orderLabel3"); // NOI18N

        org.jdesktop.layout.GroupLayout orderPanel3Layout = new org.jdesktop.layout.GroupLayout(orderPanel3);
        orderPanel3.setLayout(orderPanel3Layout);
        orderPanel3Layout.setHorizontalGroup(
            orderPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .add(orderLabel3)
                .addContainerGap(35, Short.MAX_VALUE))
        );
        orderPanel3Layout.setVerticalGroup(
            orderPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderLabel3)
        );

        orderPanel4.setBackground(resourceMap.getColor("orderPanel4.background")); // NOI18N
        orderPanel4.setName("orderPanel4"); // NOI18N
        orderPanel4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                orderPanel4MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                orderPanel4MouseExited(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                orderPanel4MouseEntered(evt);
            }
        });

        orderLabel4.setText(resourceMap.getString("orderLabel4.text")); // NOI18N
        orderLabel4.setName("orderLabel4"); // NOI18N

        org.jdesktop.layout.GroupLayout orderPanel4Layout = new org.jdesktop.layout.GroupLayout(orderPanel4);
        orderPanel4.setLayout(orderPanel4Layout);
        orderPanel4Layout.setHorizontalGroup(
            orderPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .add(orderLabel4)
                .addContainerGap(35, Short.MAX_VALUE))
        );
        orderPanel4Layout.setVerticalGroup(
            orderPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderLabel4)
        );

        orderPanel5.setBackground(resourceMap.getColor("orderPanel5.background")); // NOI18N
        orderPanel5.setName("orderPanel5"); // NOI18N
        orderPanel5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                orderPanel5MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                orderPanel5MouseExited(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                orderPanel5MouseEntered(evt);
            }
        });

        orderLabel5.setText(resourceMap.getString("orderLabel5.text")); // NOI18N
        orderLabel5.setName("orderLabel5"); // NOI18N

        org.jdesktop.layout.GroupLayout orderPanel5Layout = new org.jdesktop.layout.GroupLayout(orderPanel5);
        orderPanel5.setLayout(orderPanel5Layout);
        orderPanel5Layout.setHorizontalGroup(
            orderPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .add(orderLabel5)
                .addContainerGap(35, Short.MAX_VALUE))
        );
        orderPanel5Layout.setVerticalGroup(
            orderPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderLabel5)
        );

        orderPanel6.setBackground(resourceMap.getColor("orderPanel6.background")); // NOI18N
        orderPanel6.setName("orderPanel6"); // NOI18N
        orderPanel6.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                orderPanel6MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                orderPanel6MouseExited(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                orderPanel6MouseEntered(evt);
            }
        });

        orderLabel6.setText(resourceMap.getString("orderLabel6.text")); // NOI18N
        orderLabel6.setName("orderLabel6"); // NOI18N

        org.jdesktop.layout.GroupLayout orderPanel6Layout = new org.jdesktop.layout.GroupLayout(orderPanel6);
        orderPanel6.setLayout(orderPanel6Layout);
        orderPanel6Layout.setHorizontalGroup(
            orderPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .add(orderLabel6)
                .addContainerGap(35, Short.MAX_VALUE))
        );
        orderPanel6Layout.setVerticalGroup(
            orderPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderLabel6)
        );

        orderPanel7.setBackground(resourceMap.getColor("orderPanel7.background")); // NOI18N
        orderPanel7.setName("orderPanel7"); // NOI18N
        orderPanel7.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                orderPanel7MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                orderPanel7MouseExited(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                orderPanel7MouseEntered(evt);
            }
        });

        orderLabel7.setText(resourceMap.getString("orderLabel7.text")); // NOI18N
        orderLabel7.setName("orderLabel7"); // NOI18N

        org.jdesktop.layout.GroupLayout orderPanel7Layout = new org.jdesktop.layout.GroupLayout(orderPanel7);
        orderPanel7.setLayout(orderPanel7Layout);
        orderPanel7Layout.setHorizontalGroup(
            orderPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .add(orderLabel7)
                .addContainerGap(35, Short.MAX_VALUE))
        );
        orderPanel7Layout.setVerticalGroup(
            orderPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderLabel7)
        );

        orderPanel8.setBackground(resourceMap.getColor("orderPanel8.background")); // NOI18N
        orderPanel8.setName("orderPanel8"); // NOI18N
        orderPanel8.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                orderPanel8MouseClicked(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                orderPanel8MouseExited(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                orderPanel8MouseEntered(evt);
            }
        });

        orderLabel8.setText(resourceMap.getString("orderLabel8.text")); // NOI18N
        orderLabel8.setName("orderLabel8"); // NOI18N

        org.jdesktop.layout.GroupLayout orderPanel8Layout = new org.jdesktop.layout.GroupLayout(orderPanel8);
        orderPanel8.setLayout(orderPanel8Layout);
        orderPanel8Layout.setHorizontalGroup(
            orderPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .add(orderLabel8)
                .addContainerGap(35, Short.MAX_VALUE))
        );
        orderPanel8Layout.setVerticalGroup(
            orderPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(orderLabel8)
        );

        newOrderjButton.setText(resourceMap.getString("newOrderjButton.text")); // NOI18N
        newOrderjButton.setName("newOrderjButton"); // NOI18N
        newOrderjButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                newOrderjButtonActionPerformed(evt);
            }
        });

        changeTablejButton.setText(resourceMap.getString("changeTablejButton.text")); // NOI18N
        changeTablejButton.setName("changeTablejButton"); // NOI18N
        changeTablejButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                changeTablejButtonActionPerformed(evt);
            }
        });

        cancelButton.setText(resourceMap.getString("cancelButton.text")); // NOI18N
        cancelButton.setName("cancelButton"); // NOI18N
        cancelButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cancelButtonActionPerformed(evt);
            }
        });

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(orderPanel6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(orderPanel5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(orderPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(orderPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(orderPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(orderPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(tableNameLabel)
                    .add(jLabel2)
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, orderPanel8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, orderPanel7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap(192, Short.MAX_VALUE))
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap(138, Short.MAX_VALUE)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                    .add(layout.createSequentialGroup()
                        .add(newOrderjButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addContainerGap())
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                        .add(changeTablejButton)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(cancelButton)
                        .add(17, 17, 17))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(tableNameLabel)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jLabel2)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(orderPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(orderPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(orderPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(orderPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(orderPanel5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(orderPanel6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(orderPanel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(orderPanel8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 60, Short.MAX_VALUE)
                .add(newOrderjButton)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(changeTablejButton)
                    .add(cancelButton))
                .add(16, 16, 16))
        );
    }// </editor-fold>//GEN-END:initComponents

private void newOrderjButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newOrderjButtonActionPerformed
// TODO add your handling code here:
    setVisible(false);
    app.setViewComponent(app.getMenuPanel());
}//GEN-LAST:event_newOrderjButtonActionPerformed

private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelButtonActionPerformed
// TODO add your handling code here:
    setVisible(false);
    app.setViewComponent(app.getTableChoicePanel());
}//GEN-LAST:event_cancelButtonActionPerformed

private void changeTablejButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_changeTablejButtonActionPerformed
// TODO add your handling code here:
    setVisible(false);
    app.setViewComponent(app.getChangeTablePanel());
}//GEN-LAST:event_changeTablejButtonActionPerformed

private void orderPanel1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel1MouseClicked
// TODO add your handling code here:
    setVisible(false);
    app.setViewComponent(app.getOrderPanel());
}//GEN-LAST:event_orderPanel1MouseClicked

private void orderPanel1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel1MouseEntered
// TODO add your handling code here:
    orderPanel1.setBackground(Color.yellow);
}//GEN-LAST:event_orderPanel1MouseEntered

private void orderPanel1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel1MouseExited
// TODO add your handling code here:
    orderPanel1.setBackground(Color.LIGHT_GRAY);
}//GEN-LAST:event_orderPanel1MouseExited

private void orderPanel2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel2MouseClicked
// TODO add your handling code here:
}//GEN-LAST:event_orderPanel2MouseClicked

private void orderPanel2MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel2MouseEntered
// TODO add your handling code here:
    orderPanel2.setBackground(Color.yellow);
}//GEN-LAST:event_orderPanel2MouseEntered

private void orderPanel2MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel2MouseExited
// TODO add your handling code here:
    orderPanel2.setBackground(Color.LIGHT_GRAY);
}//GEN-LAST:event_orderPanel2MouseExited

private void orderPanel3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel3MouseClicked
// TODO add your handling code here:
    
}//GEN-LAST:event_orderPanel3MouseClicked

private void orderPanel3MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel3MouseEntered
// TODO add your handling code here:
    orderPanel3.setBackground(Color.yellow);
}//GEN-LAST:event_orderPanel3MouseEntered

private void orderPanel3MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel3MouseExited
// TODO add your handling code here:
    orderPanel3.setBackground(Color.LIGHT_GRAY);
}//GEN-LAST:event_orderPanel3MouseExited

private void orderPanel4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel4MouseClicked
// TODO add your handling code here:
}//GEN-LAST:event_orderPanel4MouseClicked

private void orderPanel4MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel4MouseEntered
// TODO add your handling code here:
    orderPanel4.setBackground(Color.yellow);
}//GEN-LAST:event_orderPanel4MouseEntered

private void orderPanel4MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel4MouseExited
// TODO add your handling code here:
    orderPanel4.setBackground(Color.LIGHT_GRAY);
}//GEN-LAST:event_orderPanel4MouseExited

private void orderPanel5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel5MouseClicked
// TODO add your handling code here:
}//GEN-LAST:event_orderPanel5MouseClicked

private void orderPanel5MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel5MouseEntered
// TODO add your handling code here:
    orderPanel5.setBackground(Color.yellow);
}//GEN-LAST:event_orderPanel5MouseEntered

private void orderPanel5MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel5MouseExited
// TODO add your handling code here:
    orderPanel5.setBackground(Color.LIGHT_GRAY);
}//GEN-LAST:event_orderPanel5MouseExited

private void orderPanel6MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel6MouseClicked
// TODO add your handling code here:
}//GEN-LAST:event_orderPanel6MouseClicked

private void orderPanel6MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel6MouseEntered
// TODO add your handling code here:
    orderPanel6.setBackground(Color.yellow);
}//GEN-LAST:event_orderPanel6MouseEntered

private void orderPanel6MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel6MouseExited
// TODO add your handling code here:
    orderPanel6.setBackground(Color.LIGHT_GRAY);
}//GEN-LAST:event_orderPanel6MouseExited

private void orderPanel7MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel7MouseClicked
// TODO add your handling code here:
}//GEN-LAST:event_orderPanel7MouseClicked

private void orderPanel7MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel7MouseEntered
// TODO add your handling code here:
    orderPanel7.setBackground(Color.yellow);
}//GEN-LAST:event_orderPanel7MouseEntered

private void orderPanel7MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel7MouseExited
// TODO add your handling code here:
    orderPanel7.setBackground(Color.LIGHT_GRAY);
}//GEN-LAST:event_orderPanel7MouseExited

private void orderPanel8MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel8MouseClicked
// TODO add your handling code here:
}//GEN-LAST:event_orderPanel8MouseClicked

private void orderPanel8MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel8MouseEntered
// TODO add your handling code here:
    orderPanel8.setBackground(Color.yellow);
}//GEN-LAST:event_orderPanel8MouseEntered

private void orderPanel8MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_orderPanel8MouseExited
// TODO add your handling code here:
    orderPanel8.setBackground(Color.LIGHT_GRAY);
}//GEN-LAST:event_orderPanel8MouseExited

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton cancelButton;
    private javax.swing.JButton changeTablejButton;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JButton newOrderjButton;
    private javax.swing.JLabel orderLabel1;
    private javax.swing.JLabel orderLabel2;
    private javax.swing.JLabel orderLabel3;
    private javax.swing.JLabel orderLabel4;
    private javax.swing.JLabel orderLabel5;
    private javax.swing.JLabel orderLabel6;
    private javax.swing.JLabel orderLabel7;
    private javax.swing.JLabel orderLabel8;
    private javax.swing.JPanel orderPanel1;
    private javax.swing.JPanel orderPanel2;
    private javax.swing.JPanel orderPanel3;
    private javax.swing.JPanel orderPanel4;
    private javax.swing.JPanel orderPanel5;
    private javax.swing.JPanel orderPanel6;
    private javax.swing.JPanel orderPanel7;
    private javax.swing.JPanel orderPanel8;
    private javax.swing.JLabel tableNameLabel;
    // End of variables declaration//GEN-END:variables
}
